[Top] [Prev] [Next] [Bottom] [Contents]

SaFormBegin

Prints the beginning fragment of an HTML form.

Synopsis

#include "SaRnHtml.h"
int SaFormBegin(char* faction, char* fmethod);

Arguments

faction
A string specifying the URL of the CGI to invoke for the form.
fmethod
A string specifying the method used to call the CGI. If fmethod is NULL or an empty string, "post" is used as the method. No other checks are performed on the argument.

Return Values

Returns an integer with a value of 0.

Description

Prints the beginning fragment of an HTML form.

Example

The code fragment:

SaFormBegin("http://cezanne/cgi-bin/tables/tables.cgi", NULL);
will write:

<FORM ACTION="http://cezanne/cgi-bin/tables/tables.cgi" 
METHOD="post">
to the output stream.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.